import MessageVue from '@/components/Message.vue'
import { createVNode, render } from 'vue'


function useMessage () {
  // 元素渲染到哪里
  // 怎么渲染

  const container = document.createElement('div')
  const vm = createVNode(MessageVue)
  render(vm, container)
  document.body.appendChild(container.firstElementChild!)
}









export {
  useMessage,
}
